<?php
include_once("../modules/checkA.php");
include_once("../../config.php");
$plate=select_one_line_all_items($table_Prefix."plate","mid = 'employee'");
?>



<?
//用来判断当前系统属于什么板块
$system_part = $plate['mid'];
include_once("detail-list-function.php"); 
?>
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include_once(ROOT_PATH_.'/controlbase/modules/head.php'); ?>

</head>

<body>

<div id="topbar"><?php include ROOT_PATH_.'/controlbase/modules/topbar.php'; ?></div>

<div id="container" class="member">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controlbase/modules/sidebar.php'; ?>
        </div>


<div id="content"> 




<div class="box member-add-box layui-form">
<h1>新增员工</h1>



<div class="tips">
<div>1.登陆账号默认为工号，不可修改</div>
<div>2.登陆密码默认为654321，请用户登录后在右上角“用户中心”修改</div>
</div>

<form id="add-employee-form" method="post" action="detail-add-function.php?nav-itemed=employee" enctype="multipart/form-data" class="layui-form">


    <div class="layui-form-item">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-block">
            <input type="text" name="ai_name" lay-verify="required" placeholder="请输入名字" autocomplete="off" class="layui-input" value="">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">密码</label>
        <div class="layui-input-block">
            <div class="input_unwritebal_block">654321</div>
            <input type="hidden" name="ai_password" class="layui-input" value="654321">
        </div>
    </div>





        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="radio" name="ai_sex" value="男" title="男" >
                <input type="radio" name="ai_sex" value="女" title="女" >
            </div>
        </div>



<!--     -->
<!---->
<!---->
<!--        --><?//
//        $department_list=select_lines_all_items($table_Prefix."department","nid desc","","0");
//        ?>
<!---->
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">部门</label>-->
<!--            <div class="layui-input-block">-->
<!--                <select name="ai_departmentid" >-->
<!---->
<!--                    --><?//for($i=0;$i<count($department_list);$i++){?>
<!---->
<!--                        <option value="--><?// echo $department_list[$i]['nid'] ?><!--">--><?// echo $department_list[$i]['name'] ?><!--</option>-->
<!--                    --><?// } ?>
<!--                </select>-->
<!--            </div>-->
<!--        </div>-->





        <div class="layui-form-item">
            <label class="layui-form-label">登陆权限</label>
            <div class="layui-input-block">
                <input type="radio" name="ai_authority" value="是" title="是" checked >
                <input type="radio" name="ai_authority" value="否" title="否" >
            </div>
        </div>




        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="radio" name="ai_status" value="在职" title="在职" >
                <input type="radio" name="ai_status" value="辞职" title="辞职" >
                <input type="radio" name="ai_status" value="辞退" title="辞退" >
                <input type="radio" name="ai_status" value="休假" title="休假" >
                <input type="radio" name="ai_status" value="产假" title="产假" >
                <input type="radio" name="ai_status" value="带薪假期" title="带薪假期" >
            </div>
        </div>








        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="ai_remark" placeholder="备注" class="layui-textarea">  </textarea>
            </div>
        </div>






        <input name="sys_part" type="hidden" value="<? echo $system_part ?>"/>
        <input name="nowpageid" type="hidden" value="<? echo $_REQUEST['nowpageid'] ?>"/>
        <input name="sortby" type="hidden" value="<? echo $_REQUEST['sortby'] ?>"/>










        <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formMemberAdd" type="submit">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
 


 
 
        </div>
		
 
 
<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>








<?php include_once('../modules/footer.php'); ?> </body>
</html>

